-
Notifications
You must be signed in to change notification settings - Fork 92
Update sbt-scalajs, ... to 1.6.0 #533
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
@julienrf do you understand the versionPolicyCheck failure? |
@SethTisue When we bump a dependency of scala-xml, we might, by transitivity, affect downstream users of scala-xml. If we bumped a dependency that is not binary compatible with its previous version, that would introduce a binary incompatibility in scala-xml, by transitivity. Similarly, if we bumped a dependency that is not source compatible with its previous version, that would introduce a source incompatibility in scala-xml, by transitivity. The goal of the task The way to deal with these problems is to signal to sbt-version-policy that we intend to break the source compatibility or binary compatibility in scala-xml (by setting Here, our intention is to stay binary and source compatible in scala-xml (as per our I believe scalajs-library 1.6.0 is actually at least binary compatible with 1.5.1, so its versioning scheme should be ThisBuild / versionPolicyDependencySchemes += "org.scala-js" %% "scalajs-library" % "semver-spec" But still, as long as our intention in scala-xml is to keep source compatibility, this dependency bump is not allowed, we should also relax our intention: ThisBuild / versionPolicyIntention := Compatibility.BinaryCompatible That being said, I’ve just checked locally, and found the following bugs in sbt-version-policy:
|
scalajs-library uses "early-semver" (which is equivalent to "semver-spec" when >= 1.0.0) of course. (I mean, I've been the strongest advocate of that versioning scheme.) So 1.6.0 is backward binary compatible but not source compatible. This is also stated in https://www.scala-js.org/news/2021/06/09/announcing-scalajs-1.6.0/ |
thanks for clarifying. I've made the suggested changes |
You’re welcome. Remember to reset |
Updates
from 1.5.1 to 1.6.0.
GitHub Release Notes - Version Diff
I'll automatically update this PR to resolve conflicts as long as you don't change it yourself.
If you'd like to skip this version, you can just close this PR. If you have any feedback, just mention me in the comments below.
Configure Scala Steward for your repository with a
.scala-steward.conf
file.Have a fantastic day writing Scala!
Ignore future updates
Add this to your
.scala-steward.conf
file to ignore future updates of this dependency:labels: library-update, semver-minor